.tutorial-window {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: none;

    color: white;
    z-index: 1000;
}

.tutorial-window.shown {
    display: block;
}

@keyframes tutorialFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.shown #tutorial-title {
    text-align: center;
    font-size: 50px;
    width: 1000px;
    position: absolute;
    font-style: italic;
    transform: translate(-50%, -400px);
    opacity: 0;
    animation: tutorialFade 0.5s 0s ease-in forwards;
}


.shown #begin-instructions {
    text-align: center;
    position: absolute;
    width: 1000px;
    transform: translate(-50%, -300px);
    opacity: 0;
    animation: tutorialFade 0.5s 0.5s ease-in forwards;
}

/* ========================= */

.shown #live-instructions {
    text-align: center;
    position: absolute;
    width: 1000px;
    transform: translate(-50%, -390px);
    opacity: 0;
    animation: tutorialFade 0.5s 0.5s ease-in forwards;
}

/* ========================= */

.shown #stage-instructions {
    text-align: center;
    position: absolute;
    width: 1000px;
    transform: translate(-50%, -425px);
    opacity: 0;
    animation: tutorialFade 0.5s 0s ease-in forwards;
}

.shown #component-instructions {
    text-align: center;
    position: absolute;
    width: max-content;
    transform: translate(-150px, -325px);
    opacity: 0;
    animation: tutorialFade 0.5s 0.5s ease-in forwards;
}

.shown #effect-instructions {
    text-align: center;
    position: absolute;
    width: 1000px;
    transform: translate(-50%, -25px);
    opacity: 0;
    animation: tutorialFade 0.5s 1s ease-in forwards;
}

.shown #see-info {
    text-align: center;
    position: absolute;
    width: max-content;
    transform: translate(-260px, 50px);
    opacity: 0;
    animation: tutorialFade 0.5s 1.5s ease-in forwards;
}
/* ========================= */

.shown #voyage-instructions {
    text-align: center;
    position: absolute;
    width: 1000px;
    transform: translate(-50%, -300px);
    opacity: 0;
    animation: tutorialFade 0.5s 0s ease-in forwards;
}

.shown #attempt-instructions {
    text-align: center;
    position: absolute;
    width: 1000px;
    transform: translate(-50%, -25px);
    opacity: 0;
    animation: tutorialFade 0.5s 0.5s ease-in forwards;
}

.shown #overlay-instructions {
    text-align: center;
    position: absolute;
    font-size: small;;
    width: max-content;
    transform: translate(-80%, 457px);
    opacity: 0;
    animation: tutorialFade 0.5s 1s ease-in forwards;
}

/* ========================= */


#special-expander {
    width: 25px;
    height: 50px;
    margin: 6px 0 6px 4px;
    /* background-color: rgba(255, 255, 255, 0.407); */
    background: none;
    position: relative;
    font-size: large;
    
    cursor: pointer;
    border: none;
    border-radius: 10px;
}

#expand-info {
    content: url("../Assets/InfoIcon.svg");
    opacity: 0.5;
    height: 25px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-out;
}

.expanded #expand-info {
    transform: translate(-50%, -50%) rotate(360deg);
    transition: all 0.3s ease-out;
}

#expand-arrow {
    content: url("../Assets/DownArrow.svg");
    opacity: 0.5;
    height: 25px;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-out;
}

.expanded #expand-arrow {
    transform: translate(-50%, -50%) rotate(540deg);
    transition: all 0.3s ease-out;
}

#special-display {
    margin: auto;
    padding-top: 3px;
    width: 536px;
    /* width: max-content; */
    border: 3px solid rgb(86, 86, 86);
    background-color: lightgray;
    border-radius: 15px;
    height: 69px;
    transition: all 0.2s ease-out;
}

#special-display.w1 {
    width: 135px;
    transition: width 0s ease-out;
}

#special-display.w2 {
    width: 235px;
    transition: width 0s ease-out;
}


#special-display.w3 {
    width: 335px;
    transition: width 0s ease-out;
}


#special-display.w4 {
    width: 435px;
    transition: width 0s ease-out;
}


#special-display.w5 {
    width: 536px;
    /* transition: width 0s ease-out; */
}


div#special-display.expanded { 
    height: 335px;
    width: 536px;
    transition: all 0.2s ease-out;
}

#special-display-content {
    position: absolute;
    width: 500px;
    left:50%;
    top: 50px;
    transform: translate(-50%, 0);
    opacity: 0%;
    transition: all 0.1s ease-out;
    display: none;
}

#special-display-content.expanded {
    display: block;
    opacity: 100%;
    transition: all 0.1s ease-out;
}

#special-display-content img {
    display: inline;
    margin: none;
    width: 60px;
    transform: translate(0, 20px);
}

#overlay-toggle {
    float: left;
    text-decoration: underline;
    color: rgb(185, 246, 255);
    background: none;
    border: none;
    cursor: pointer;
    font-size: medium;
    /* font-weight: bold; */
}  

#component-totals {
    transform: translate(230px, -200px);
    position: absolute;
    color: white;
    font-weight: bold;
    background-color: black;
    border-radius: 3px;
    opacity: 100%;
    transition: all 0.5s ease-out;
}

.travelling ~ #component-totals {
    /* opacity: 0%; */
    transition: all 0.5s ease-out;
}

.travelling ~ #component-totals * * {
    /* color: white; */
}

body.assist-overlay-disabled #component-totals {
    display: none !important;
}

#component-totals div {
    margin: 6px;
}

#gun-count {
    color: #ff3b42;
    display: none;
}

#thruster-count {
    color: #f88d50;
    display: none;
}

#amp-count {
    color: #59f8d8;
    display: none;
}

#shield-count {
    color: #84c3fb;
    display: none;
}


#component-counters {
    position: absolute;
    transform: translate(0, -70px);
    color: white;
    font-weight: bold;
    opacity: 100%;
    transition: all 0.1s ease-out;
}

.travelling ~ #component-counters {
    opacity: 0%;
    transition: all 0.1s ease-out;
}

body.assist-overlay-disabled #component-counters {
    display: none !important;
}

#component-counters>span {
    width: 50px;
    display: inline-block;
    text-align: center;
    font-size: medium;
    /* background-color: black; */
    border-radius: 3px;
}

#component-counters span.c0 {
    /* color: #ff3b42 */
    color: #ff3b42;
    font-size: medium;
    transform: translate(-10px, 0px);
}

#component-counters span.c0 span.c1 {
    /* color: #ff3b42 */
    position: absolute;
    transform: translate(0px, 10px);
    color: #f88d50;
}

#component-counters span.c0 span.c2 {
    /* color: #ff3b42 */
    position: absolute;
    transform: translate(10px, 0px);
    color: #59f8d8;
}

#component-counters span.c0 span.c3 {
    /* color: #ff3b42 */
    position: absolute;
    transform: translate(0px, -10px);
    color: #84c3fb;
}

#component-counters span.c1 {
    color: #f88d50;
}

#component-counters span.c2 {
    color: #59f8d8;
}

#component-counters span.c3 {
    color: #84c3fb;
}

.ltr {
    font-size: large;
    display: none;;
}

#thruster-indicators {
    position: absolute;
    transform: rotate(90deg) translate(-100px, 16px);
    opacity: 0%;
    /* transition: all 0.5s ease-out; */
}

body.assist-overlay-disabled #thruster-indicators {
    display: none !important;
}

#thruster-indicators div {
    color: #f88d50;
    height: 54px;
    font-weight: bold;    
}

.travelling #thruster-indicators {
    opacity: 100%;
    transition: all 0.1s 0.5s ease-out;
}

#final-popup.fadeIn~#rocket-parent #thruster-indicators {
    opacity: 0;
    transition: all 0.1s ease-out;
}

#shield-indicators {
    position: absolute;
    transform: rotate(90deg) translate(85px, 16px);
    width: 80px;
    opacity: 0%;
    /* transition: all 0.5s ease-out; */
}

.travelling #shield-indicators {
    opacity: 100%;
    transition: all 0.1s 0.5s ease-out;
}

body.assist-overlay-disabled #shield-indicators {
    display: none !important;
}


#final-popup.fadeIn~#rocket-parent #shield-indicators {
    opacity: 0;
    transition: all 0.1s ease-out;
}

#shield-indicators div {
    color: #84c3fb;
    height: 54px;
    text-shadow: 0px 0px 2px #000000;
    font-weight: bold;
}

#shield-indicators div.exhausted {
    color: #d91b51;
    opacity: 0.5;
}

@keyframes shieldPopupFade {
    0% { opacity: 1; transform: translate(-5px, -20px);}
    100% { opacity: 0; transform: translate(-5px, -60px);}
}

#shield-indicators div.POPUP_PLACEHOLDER div.shield-loss-popup {
    background-color: rgb(217, 62, 62);
    color: white;
    border-radius: 3px;
    padding: 4px 6px 4px 6px;
    height: max-content;
    transform: translate(-5px, -20px);
    text-shadow: none;
    animation: shieldPopupFade 1s ease-out forwards;
}
